from django.db.models import ManyToManyField
from django.contrib.contenttypes.generic import GenericRelation
from categories.models import Category, CategoryItem

class CategoryField(ManyToManyField):
    """docstring for CategoryField"""
    __metaclass__ = models.SubfieldBase
    
    def __init__(self, **kwargs):
        super(CategoryField, self).__init__(Category, **kwargs)
        
